perl -pi -e 's/hello/harrow/g' *.txt
note, the 'g' at the end makes it match [greedily|globally] - ie it will to multiple matches in a single line. You can add an 'i' for case insensitivity.
Full regular expressions can be used, and the *.txt can of course be *.html, *.anything, or just *
christo